#define _CRT_SECURE_NO_WARNINGS 1
#include <math.h>
#include <stdio.h>

int main() {
    long int c = 0;
    long int d = 0;
    scanf("%ld %ld", &c, &d);
    double a = (double)d / c * 100;
    printf("%.3f%\n", a);
    return 0;
}
int main() {
    int a, b;
    scanf("%d %d", &a, &b);
    printf("%d %d", a / b, a % b);
    return 0;
}